package com.zbf.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

/**
 * @author: LCG
 * 作者: LCG
 * 日期: 2021/6/17  15:49
 * 描述:
 */
@ConfigurationProperties(prefix = "com.zbf")
@Component
@Data
@RefreshScope
public class TestConsulConfig {

    private String test1;

    private String test2;



}
